﻿@model LayuiDemo.ViewModels.PostVMs.PostVM
@inject IStringLocalizer<Program> Localizer;

<wt:form vm="@Model" >
	<wt:row items-per-row="ItemsPerRowEnum.Two">
		<wt:textbox field="Entity.Title" />
		<wt:textbox field="Entity.Content" />
		<wt:selector field="Entity.BlogId" list-vm="@Model.BlogList" text-bind="BlogList.EntityList[0].Name">
			<wt:searchpanel vm="BlogList">
				<wt:row items-per-row="ItemsPerRowEnum.Three">
					<wt:textbox field="BlogList.Searcher.Url" />
				</wt:row>
			</wt:searchpanel>
		</wt:selector>
		<wt:textbox field="Entity.Count" />
		<wt:textbox field="Entity.Rate" />
	</wt:row>
	<wt:row align="AlignEnum.Right">
		<wt:submitbutton />
		<wt:closebutton />
	</wt:row>
</wt:form>
